package com.yy.wga.wechat.feign.response;

import lombok.Data;

/**
 * 公众号用户信息
 * @author lgw
 */
@Data
public class WechatOAuth2AccessTokenResp {


    private String accessToken;

    private int expiresIn;

    private String refreshToken;

    private String openId;

    private String scope;
    /**
     * 是否为快照页模式虚拟账号，只有当用户是快照页模式虚拟账号时返回，值为1
     */
    private Integer snapshotUser;

    /**
     * https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&announce_id=11513156443eZYea&version=&lang=zh_CN.
     * 本接口在scope参数为snsapi_base时不再提供unionID字段。
     */
    private String unionId;
}
